fix dockerfile
This commit is contained in:
@@ -39,9 +39,6 @@ RUN apk add --no-cache \
|
||||
RUN addgroup -g 1000 appuser && \
|
||||
adduser -D -u 1000 -G appuser appuser
|
||||
|
||||
# Copy credentials file if it exists
|
||||
COPY --chown=appuser:appuser credentials.json .
|
||||
|
||||
# Copy virtual environment from builder
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
@@ -55,6 +52,7 @@ WORKDIR /app
|
||||
# Copy application files
|
||||
COPY --chown=appuser:appuser app.py .
|
||||
COPY --chown=appuser:appuser main.py .
|
||||
COPY --chown=appuser:appuser credentials.json .
|
||||
COPY --chown=appuser:appuser static ./static
|
||||
|
||||
# Copy and setup entrypoint script
|
||||
|
||||
Reference in New Issue
Block a user