fix dockerfiles
This commit is contained in:
parent
f414d2e057
commit
05039c3eb0
2 changed files with 3 additions and 4 deletions
|
|
@ -17,7 +17,6 @@ RUN cd /opt/app-root/src && \
|
|||
ENV DATABASE_SVC=192.168.0.10
|
||||
ENV DATABASE_PORT=3306
|
||||
ENV DATABASE_PASSWORD=secret-pass
|
||||
ENV DATABASE_INIT=true
|
||||
ENV PORT=3000
|
||||
|
||||
EXPOSE 3000
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ USER 0
|
|||
|
||||
COPY . /tmp/todo-frontend
|
||||
|
||||
RUN cd /tmp/todo-frontend && \
|
||||
npm install && \
|
||||
npm run build
|
||||
RUN cd /tmp/todo-frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# https://github.com/sclorg/nginx-container
|
||||
FROM registry.access.redhat.com/ubi8/nginx-118
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue