Skip to content

Commit b618093

Browse files
committed
Working on docker releases
1 parent f5851e8 commit b618093

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,17 @@ RUN mkdir -p /var/lib/vilesql && \
3838
COPY --from=builder /app/vilesql /usr/local/bin/vilesql
3939

4040
# Copy configuration files
41-
COPY --from=builder /app/.env /etc/vilesql/.env
4241
COPY --from=builder /app/scripts/ /usr/local/share/vilesql/scripts/
4342

4443
# Set proper permissions
45-
RUN chmod +x /usr/local/bin/vilesql && \
46-
chown vilesql:vilesql /etc/vilesql/.env
44+
RUN chmod +x /usr/local/bin/vilesql
4745

4846
# Switch to non-root user
4947
USER vilesql
5048

5149
# Set working directory
5250
WORKDIR /var/lib/vilesql
5351

54-
# Copy .env file to working directory
55-
# COPY --from=builder /app/.env /var/lib/vilesql/.env
56-
5752
# Environment variables
5853
ENV VILESQL_DATA_DIR=/var/lib/vilesql
5954
ENV PORT=5000

0 commit comments

Comments
 (0)