Skip to content

Commit

Permalink
Allow Sync for non-root containers-hotreload example - integration dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ibidani committed Feb 29, 2020
1 parent 4f67d06 commit 26bcb96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration/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 .
5 changes: 2 additions & 3 deletions integration/examples/hot-reload/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ 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 26bcb96

Please sign in to comment.