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 13, 2020
1 parent e12d45b commit 0e97432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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
COPY src .
RUN chown -R 400:400 /app && npm ci
COPY src .
7 changes: 3 additions & 4 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
COPY src ./

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

0 comments on commit 0e97432

Please sign in to comment.