Skip to content

Commit

Permalink
chore: refactor docker file (#76)
Browse files Browse the repository at this point in the history
This commit removes warning regarding outdated syntax in the dockerfile.
  • Loading branch information
nwittstruck authored Aug 2, 2024
1 parent fa99089 commit 348665d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20.16.0-alpine as install
FROM node:20.16.0-alpine AS install
WORKDIR /app

ENV PATH /app/node_modules/.bin:$PATH
ENV PATH=/app/node_modules/.bin:$PATH

COPY package.json ./
COPY yarn.lock ./
Expand All @@ -22,8 +22,8 @@ COPY .env ./
COPY arasaac-pictogram-viewer.php ./

ENV INLINE_RUNTIME_CHUNK=false
ENV REACT_APP_API /arasaac/api
ENV REACT_APP_API_IMAGES /arasaac/images
ENV REACT_APP_API=/arasaac/api
ENV REACT_APP_API_IMAGES=/arasaac/images

RUN yarn build:app

Expand Down
2 changes: 0 additions & 2 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
pictosearch:
container_name: pictosearch
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
pictosearch:
container_name: pictosearch
Expand Down

0 comments on commit 348665d

Please sign in to comment.