mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Update Dockerfile
This commit is contained in:
1 parent
dbc3c265a3
commit
c79d1d40da
1 file changed
+1
-4
+1
-4
@@ -12,12 +12,9 @@ EXPOSE 5000
|
||||
|
||||
# Install app dependencies
|
||||
COPY package.json yarn.lock /usr/src/app/
|
||||
RUN yarn install
|
||||
RUN yarn install --production
|
||||
|
||||
# Bundle app source
|
||||
COPY . /usr/src/app
|
||||
|
||||
# Build static assets
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start"]
|
||||
Reference in new issue
Block a user