Skip to content

Commit 7dfe447

Browse files
committed
Dockerfile fix
1 parent 8186364 commit 7dfe447

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

examples/blog/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ RUN adduser \
1919
--uid "${UID}" \
2020
appuser
2121

22+
WORKDIR /app
2223
# Copy the executable from the "build" stage of Github Action.
23-
COPY ./bin/console /app/bin/
24+
COPY ./bin /app/bin/
2425
# Copy environment variables
2526
COPY .env .env
2627
#COPY .env.test .env.test
@@ -30,8 +31,6 @@ RUN chown -R appuser:appuser /app
3031

3132
USER appuser
3233

33-
WORKDIR /app
34-
3534
RUN ls -la /app
3635

3736
# Expose the port that the application listens on.

0 commit comments

Comments
 (0)