Skip to content

Commit

Permalink
fix docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jun 4, 2021
1 parent 967adec commit 929b291
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Expand Up @@ -2,9 +2,12 @@ node_modules/
out/
npm-debug.log
!src/test/**/node_modules
package-lock.json
Dockerfile
.gitignore
.npmignore
.prettierignore
LICENSE
README.md
SECURITY.md
azure-pipelines.yml
ThirdPartyNotices.txt
8 changes: 4 additions & 4 deletions Dockerfile
@@ -1,10 +1,10 @@
FROM node:12-alpine
WORKDIR /opt/vsce
COPY package.json .
COPY yarn.lock .
RUN yarn
COPY package.json package-lock.json .
RUN npm install
COPY . .
RUN yarn compile
RUN npm run compile
RUN rm package-lock.json tsconfig.json
VOLUME /workspace
WORKDIR /workspace
ENTRYPOINT ["/opt/vsce/out/vsce"]

0 comments on commit 929b291

Please sign in to comment.