Skip to content

Commit

Permalink
Allow Sync for non-root containers-hotreload example
Browse files Browse the repository at this point in the history
  • Loading branch information
ibidani committed Feb 29, 2020
1 parent a9c7b3a commit 4f67d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/hot-reload/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ EXPOSE 3000
CMD ["npm", "run", "dev"]

COPY package* ./
RUN npm ci
RUN chown -R 400:400 /app && npm ci
COPY src .
4 changes: 2 additions & 2 deletions examples/hot-reload/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM python:3.7.4-alpine3.10
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0"]
ENV FLASK_DEBUG=1
ENV FLASK_APP=app.py

WORKDIR /usr/src/app
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN chown -R 400:400 /usr/src/app && pip install -r requirements.txt
COPY src ./

0 comments on commit 4f67d06

Please sign in to comment.