more docker stuff
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
# Use a base image with Pandoc and LaTeX
|
# Use a base image with Pandoc and LaTeX
|
||||||
FROM pandoc/latex:latest
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -8,6 +9,7 @@ WORKDIR /app
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
bash \
|
bash \
|
||||||
|
pandoc \
|
||||||
git \
|
git \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ set -euo pipefail
|
|||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
# Check if the environment variables file exists
|
# Check if the environment variables file exists
|
||||||
ENV_FILE="/env/CandidateVariables.env"
|
ENV_FILE="/env/ResumeVariables.env"
|
||||||
if [[ ! -f "$ENV_FILE" ]]; then
|
if [[ ! -f "$ENV_FILE" ]]; then
|
||||||
echo "Error: Environment variables file not found at $ENV_FILE"
|
echo "Error: Inside script: Environment variables file not found at $ENV_FILE"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user