We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c16ed81 commit e0eed4aCopy full SHA for e0eed4a
Dockerfile
@@ -13,7 +13,7 @@ COPY . .
13
14
# In the future, we can use https://github.com/yarnpkg/rfcs/pull/53 to make yarn use the node_modules
15
# directly which should be fast as it is slow because it populates its own cache every time.
16
-RUN yarn && yarn task build:server:binary
+RUN yarn && NODE_ENV=production yarn task build:server:binary
17
18
# We deploy with ubuntu so that devs have a familiar environment.
19
FROM ubuntu:18.10
@@ -30,5 +30,5 @@ RUN locale-gen en_US.UTF-8
30
# We unfortunately cannot use update-locale because docker will not use the env variables
31
# configured in /etc/default/locale so we need to set it manually.
32
ENV LANG=en_US.UTF-8
33
-ENV LC_ALL=en_US.UTF-8
+ENV LC_ALL=en_US.UTF-8
34
ENTRYPOINT ["code-server"]
0 commit comments