0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-08 02:10:54 -05:00

Docker build issue

Needed to save an argument value to an environment value before it could be used.
This commit is contained in:
Refringe 2024-12-07 21:44:06 -05:00
parent 9b44ca6d26
commit 3b6196d0f5
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -1,7 +1,9 @@
ARG PROD=false
FROM node:20.12-slim
# Set the PROD environment variable from the build argument
ARG PROD
ENV PROD=$PROD
# Update and install dependencies
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*